package repository

import (
	"github.com/jinzhu/gorm"
	"mall-go/common"
)

type MallOrderAddressRepo struct {
	DB *gorm.DB
}

func NewMallOrderAddressRepo() MallOrderAddressRepo {
	db := common.GetDB()
	return MallOrderAddressRepo{DB: db}
}
